package com.tyqx.service;

import com.tyqx.bean.model.EthPoolInfo;
import com.tyqx.bean.model.StopBlockInterval;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface EthPoolInfoService {

    public Integer insert(EthPoolInfo ethPoolInfo);


    public Integer insertBatch(List<EthPoolInfo> ethPoolInfoList);

    public Integer selectEthInfoByBlockNum(Long blockNum);

    public List<StopBlockInterval> selectStopBlockInterval();

    public Long selectMaxBlock();

    public List<EthPoolInfo> selectEthPoolInfoByStartDateToEndDate(Date startDate,Date endDate);

    public List<Date> selectEthPoolInfoGroupByProductDate();

    public List<EthPoolInfo> selectEthPoolInfoByCurrentDay(Date currentDay);
}
